﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace docent
{
    public class FlowNode
    {
        private List<FlowAction> _actions = new List<FlowAction>();

        public long ID { get; set; }
        public FlowState State { get; set; }
        public string Name { get; set; }
        public IEnumerable<FlowAction> Actions { get { return _actions; } }

        public void AddAction(params FlowAction[] actions)
        {
            _actions.AddRange(actions);
        }
    }
}
